import logger from '@/utils/logger'
import { createPinia } from 'pinia'
import type { App } from 'vue'

const store = createPinia()

export const setupStore = (app: App<Element>) => {
    app.use(store)
    logger.info("------------------挂载store完毕------------------")
}

export default store 
